home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / pp / pp-6.0 / Format / rfc934 / Makefile < prev    next >
Encoding:
Makefile  |  1991-12-18  |  3.2 KB  |  151 lines

  1. # Makefile for rfc934 filter channel
  2. #
  3. ############################################################
  4. #
  5. # @(#) $Header: /xtel/pp/pp-beta/Format/rfc934/RCS/Makefile,v 6.0 1991/12/18 20:21:02 jpo Rel $
  6. #
  7. # $Log: Makefile,v $
  8. # Revision 6.0  1991/12/18  20:21:02  jpo
  9. # Release 6.0
  10. #
  11. #
  12. ############################################################
  13. #
  14. # Definitions
  15. #
  16. ############################################################
  17.  
  18.  
  19.  
  20. SRCS =  do-rfc934.c rfc934.c
  21. OBJS =  do-rfc934.o rfc934.o
  22. # DO NOT DELETE THIS LINE MAKE DEFINE NEEDS IT
  23.  
  24. HEADERS = ../../h
  25. LIBPP   = ../../Lib/libpp.a
  26.  
  27. CFLAGS  = $(CCOPTIONS) $(LCF) -I$(HEADERS)
  28. LDFLAGS = $(LDOPTIONS) $(LLF)
  29.  
  30. LLFLAGS = $(LINTFLAGS) -I$(HEADERS)
  31. LINTLIBS = ../../Lib/llib-lpp.ln $(LINTISODE)
  32.  
  33.  
  34. PROGS   = xrfc934 
  35.  
  36.  
  37. ############################################################
  38. #
  39. # Building Rules
  40. #
  41. ############################################################
  42.  
  43. default: $(PROGS)
  44.  
  45. ############################################################
  46. #
  47. # rfc934 filter
  48. #
  49. ############################################################
  50.  
  51. rfc934: xrfc934
  52.  
  53. xrfc934: $(OBJS) $(LIBPP)
  54.     $(CC) $(LDFLAGS) -o $@ $(OBJS) \
  55.         $(LIBPP) $(LIBSYS)
  56.  
  57.  
  58.  
  59. ############################################################
  60. #
  61. # Misc stuff
  62. #
  63. ############################################################
  64.  
  65. install: inst-dir inst-rfc934
  66.  
  67. inst-rfc934: $(CHANDIR)/rfc934
  68. $(CHANDIR)/rfc934: xrfc934
  69.     -$(BACKUP) $@ zxrfc934
  70.     rm -f $@
  71.     $(INSTALL) xrfc934 $@ 
  72.     -$(CHMOD) $(PGMPROT) $@
  73.     -$(CHOWN) $(PPUSER) $@ 
  74.     -@ls -ls $@
  75.     -@echo "rfc934 channel installed normally"; echo ""
  76.  
  77. inst-dir: $(CHANDIR)
  78.  
  79. clean: tidy
  80.     rm -f $(OBJS)
  81. tidy:
  82.     rm -f $(PROGS) zxrfc934 core a.out *.old *.BAK
  83.  
  84. lint: l-rfc934
  85.  
  86. l-rfc934: $(SRCS) true
  87.     $(LINT) $(LLFLAGS) $(SRCS) $(LINTLIBS)
  88.  
  89. define:
  90.     $(DEFINE) Makefile
  91.  
  92. depend:
  93.     $(DEPEND) -I$(HEADERS) $(SRCS)
  94.  
  95. true:;
  96.  
  97. ############################################################
  98. #
  99. # End of Building Rules
  100. #
  101. ############################################################
  102.  
  103. # DO NOT DELETE THIS LINE MAKE DEPEND NEEDS IT
  104. # Dependencies follow
  105. do-rfc934.o: do-rfc934.c
  106. do-rfc934.o: ../../h/util.h
  107. do-rfc934.o: ../../h/config.h
  108. do-rfc934.o: ../../h/ll_log.h
  109. do-rfc934.o: ../../h/retcode.h
  110. do-rfc934.o: ../../h/tb_bpt84.h
  111. rfc934.o: rfc934.c
  112. rfc934.o: ../../h/util.h
  113. rfc934.o: ../../h/config.h
  114. rfc934.o: ../../h/ll_log.h
  115. rfc934.o: ../../h/head.h
  116. rfc934.o: ../../h/util.h
  117. rfc934.o: ../../h/retcode.h
  118. rfc934.o: ../../h/qmgr.h
  119. rfc934.o: ../../h/Qmgr-types.h
  120. rfc934.o: ../../h/Qmgr-ops.h
  121. rfc934.o: ../../h/q.h
  122. rfc934.o: ../../h/adr.h
  123. rfc934.o: ../../h/list_rchan.h
  124. rfc934.o: ../../h/chan.h
  125. rfc934.o: ../../h/table.h
  126. rfc934.o: ../../h/list_bpt.h
  127. rfc934.o: ../../h/auth.h
  128. rfc934.o: ../../h/list_bpt.h
  129. rfc934.o: ../../h/extension.h
  130. rfc934.o: ../../h/mta.h
  131. rfc934.o: ../../h/adr.h
  132. rfc934.o: ../../h/list_bpt.h
  133. rfc934.o: ../../h/aparse.h
  134. rfc934.o: ../../h/ap.h
  135. rfc934.o: ../../h/util.h
  136. rfc934.o: ../../h/or.h
  137. rfc934.o: ../../h/chan.h
  138. rfc934.o: ../../h/auth.h
  139. rfc934.o: ../../h/list_rchan.h
  140. rfc934.o: ../../h/mta.h
  141. rfc934.o: ../../h/prm.h
  142. rfc934.o: ../../h/chan.h
  143. rfc934.o: ../../h/dr.h
  144. rfc934.o: ../../h/extension.h
  145. rfc934.o: ../../h/mta.h
  146. rfc934.o: ../../h/sys.file.h
  147.  
  148. # DEPENDENCIES MUST END AT END OF FILE
  149. # IF YOU PUT STUFF HERE IT WILL GO AWAY
  150. # see make depend above
  151.